package org.fhm.zdte.client.config;

import org.fhm.substrate.annotation.Configuration;
import org.fhm.substrate.annotation.Value;

/**
 * Client permission control configuration information.
 *
 * @author 谭波
 * @since 2024/1/5
 */
@Configuration("permission")
public class PermissionConfiguration extends AbstractZDTECoreConfiguration {

    @Value("allow.connected.addresses")
    private String allowConnectedAddresses;

    @Value("allow.connected.secret.key")
    private String allowConnectedSecretKey;

    @Value("enable.mode")
    private String enableMode;

    public String getAllowConnectedAddresses() {
        return allowConnectedAddresses;
    }

    public String getAllowConnectedSecretKey() {
        return allowConnectedSecretKey;
    }

    public String getEnableMode() {
        return enableMode;
    }
}
